package cn.wp.common.core.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 接口简单响应状态
 * Created by chenyb on 2019/09/24
 */
public class WpState implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 状态值
     */
    @Getter
    @Setter
    private int code;

    /**
     * 消息
     */
    @Getter
    @Setter
    private String message;

    public WpState() {
    }

    public WpState(int code) {
        this.code = code;
    }

    public WpState(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
